home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / system / cpcug.zip / DOS-EDIT.DOC < prev    next >
Text File  |  1987-04-20  |  3KB  |  63 lines

  1.           DOS-EDIT                               Charles Petzold
  2.           Command
  3.           Copyright (c) 1986, Ziff-Davis Publishing Co.
  4.           ______________________________________________________
  5.  
  6.           Purpose:  Permits moving to, editing, and reentering
  7.                     on-screen DOS commands without retyping.
  8.  
  9.           Format:   DOS-EDIT     (loads memory-resident program)
  10.                          then
  11.                     <Up Arrow>           (enables DOS-Edit keys)
  12.                     <Left Arrow>                   (cursor left)
  13.                     <Right Arrow>                 (cursor right)
  14.                     <Up Arrow>                       (cursor up)
  15.                     <Down Arrow>                   (cursor down)
  16.                     <Backspace>          (destructive backspace)
  17.                     <Ins>              (insert/overwrite toggle)
  18.                     <Del>                     (delete character)
  19.                     <PgDn>               (delete to end of line)
  20.                     <PgUp>                  (cursor to column 1)
  21.                     <Home>          (cursor to initial column #)
  22.                     <Esc>           (exit edit mode, no changes)
  23.                     <End>           (transfer text line right of
  24.                                  cursor to end of original line)
  25.                     <Enter>   (like <End>, plus execute command)
  26.  
  27.           Remarks:  When loaded, normally through your
  28.                     AUTOEXEC.BAT file, an initial Up Arrow
  29.                     keypress activates the DOS-EDIT mode.
  30.                     (Thereafter, the Up Arrow functions as a
  31.                     normal cursor arrow key.)  If you move the
  32.                     cursor down to the original line, you will
  33.                     leave the DOS-EDIT mode (e.g., the Left Arrow
  34.                     key will once again delete characters).
  35.  
  36.           Example:  A typical use of DOS-EDIT is to correct a
  37.                     long command line in which you made a typing
  38.                     error.  Simply move the cursor up to the mis-
  39.                     typed line, correct the mistake (using the
  40.                     appropriate keys listed under FORMAT), press
  41.                     Home (to position the cursor to pick up the
  42.                     whole of the line), then Enter.
  43.  
  44.                     A less obvious example occurs if you have
  45.                     just done a DIR listing and want to run a
  46.                     program.  Move the cursor up and just to the
  47.                     right of the program name.  Press PgDn to
  48.                     delete the extension and the rest of the
  49.                     line, PgUp to position the cursor to pick up
  50.                     the whole command name, then Enter.
  51.  
  52.                     Note:
  53.  
  54.                     1.   DOS-EDIT is a memory-resident program,
  55.                          and so may cause conflicts with some
  56.                          other memory-resident software programs.
  57.                          Such problems can frequently be solved
  58.                          by changing the order in which the
  59.                          several memory-resident programs are
  60.                          loaded.   DOS-EDIT should be loaded
  61.                          before ASSIGN.COM and before SideKick,
  62.                          for example.
  63.